<?php get_instance()->view('common/header');?>
<style>
    .weui-grid:after, .weui-grid:before,.weui-grid:after,.weui-grids:after, .weui-grids:before{display: none;}
</style>
<body class="">
<div class="userinfo bor_bb pr">
    <a href="<?php echo getUrl('message')?>" class="dk pos" style="right: 10px;top: 10px;">
        <img src="<?php echo $this->staticUrl?>img/png/pic135.png" alt="" width="23px">
        <?php if($messageCount>0): ?>
            <span class="badge"></span>
        <?php endif; ?>
    </a>

    <div class="userinfobox">
        <a href="<?php echo getUrl('user/info')?>">
            <div class="imgbox m0a jdjz">
                <img src="<?php echo $info['portrait']?>" alt="">
            </div>
            <div class="tc fb mt10"><?php echo strlen($info['realname']) > 0 ? $info['realname'] : $info['nickname']?></div>
        </a>
        <div class="heng mt30">
            <a href="<?php echo getUrl('money')?>" class="f09 cor6"><span class="dk tc f13 cor3"><?php echo $info['balance']?></span>余额</a>
            <a href="<?php echo getUrl('user/bonus')?>" class="f09 cor6"><span class="dk tc f13 cor3"><?php echo $info['bonus']?></span>红包</a>
            <a href="<?php echo getUrl('user/coupon')?>" class="f09 cor6"><span class="dk tc f13 cor3"><?php echo $info['coupon']?></span>代金劵</a>
        </div>
    </div>
</div>
<!--<div class="weui-cells mt7">
    <a class="weui-cell weui-cell_access afterbor100  pt75 pb75" href="<?php echo getUrl('user/postalCard')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5 f09" src="<?php echo $this->staticUrl?>img/png/pic48.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">包邮卡</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access afterbor100  pt75 pb75" href="<?php echo getUrl('order/getServiceList')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5 f09" src="<?php echo $this->staticUrl?>img/png/pic48.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">售后订单</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access afterbor100 pt75 pb75" href="<?php echo getUrl('user/address')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5" src="<?php echo $this->staticUrl?>img/png/pic24.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">收货地址</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access afterbor100 pt75 pb75" href="<?php echo getUrl('user/collection')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5" src="<?php echo $this->staticUrl?>img/png/pic52.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">我的收藏</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access afterbor100 pt75 pb75" href="<?php echo getUrl('message')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5" src="<?php echo $this->staticUrl?>img/png/pic833.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">我的消息</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
</div>
<div class="weui-cells mt7">
    <a class="weui-cell weui-cell_access afterbor100 pt75 pb75" href="<?php echo getUrl('friendsCircle/myFriendsCircle')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5" src="<?php echo $this->staticUrl?>img/png/pic146.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">我的发现</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access afterbor100 pt75 pb75" href="<?php echo getUrl('find')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5" src="<?php echo $this->staticUrl?>img/png/pic53.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">我的发布</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
</div>
<div class="weui-cells mt7 pb50">
    <a class="weui-cell weui-cell_access afterbor100 button-share  pt75 pb75" href="javascript:;">
        <div class="weui-cell__hd"><img class="heightimg mr5" src="<?php echo $this->staticUrl?>img/png/pic147.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">分享有礼</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
    <a class="weui-cell weui-cell_access afterbor100 pt75 pb75" href="<?php echo getUrl('user/setup')?>">
        <div class="weui-cell__hd"><img class="heightimg mr5" src="<?php echo $this->staticUrl?>img/png/pic149.png" alt=""></div>
        <div class="weui-cell__bd">
            <p class="f085">客服中心</p>
        </div>
        <div class="weui-cell__ft"></div>
    </a>
</div>-->
<div class="weui-grids bag1 bor_tt pb50">
    <a href="<?php echo getUrl('user/postalCard')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic1.png" alt="">
        </div>
        <p class="weui-grid__label">包邮卡</p>
    </a>
    <a href="<?php echo getUrl('order/getServiceList')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic2.png" alt="">
        </div>
        <p class="weui-grid__label">售后订单</p>
    </a>
    <a href="<?php echo getUrl('user/address')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic3.png" alt="">
        </div>
        <p class="weui-grid__label">收货地址</p>
    </a>
    <a href="<?php echo getUrl('user/collection')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic4.png" alt="">
        </div>
        <p class="weui-grid__label">我的收藏</p>
    </a>
    <a href="<?php echo getUrl('friendsCircle/myFriendsCircle')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic5.png" alt="">
        </div>
        <p class="weui-grid__label">我的发现</p>
    </a>
    <a href="<?php echo getUrl('find')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic6.png" alt="">
        </div>
        <p class="weui-grid__label">我的发布</p>
    </a>
    <a href="<?php echo getUrl('common/ads')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic7.png" alt="">
        </div>
        <p class="weui-grid__label">商户加盟</p>
    </a>
    <a href="javascript:;" class="weui-grid button-share">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic8.png" alt="">
        </div>
        <p class="weui-grid__label">分享有礼</p>
    </a>
    <a href="<?php echo getUrl('user/setup')?>" class="weui-grid">
        <div class="weui-grid__icon">
            <img src="<?php echo $this->staticUrl?>img/second/pic9.png" alt="">
        </div>
        <p class="weui-grid__label">客服中心</p>
    </a>
</div>
<div class="share jdjz" style="z-index: 2;">
    <span class="simg">
        <img src="<?php echo $this->staticUrl;?>img/png/share.png" alt="">
    </span>
</div>
<?php get_instance()->view('common/footer');?>
</body>
<script src="<?php echo $this->staticUrl?>js/base.js"></script>
<?php get_instance()->view('common/wxJssdk');?>
<script type="text/javascript">
    WeChat();

    $(function () {
        $(".button-share").on('click',function () {
            $(".share").css("visibility","visible");
        });

        $(".share").click(function(){
            $(this).css("visibility","hidden");
        });
    })
</script>
</html>